﻿using PetaPoco;
using System;
using System.Collections.Generic;

namespace Xms.CRM.Domain
{
    [TableName("IntentionStudent")]
    [PrimaryKey("IntentionStudentId", AutoIncrement = false)]
    public partial class IntentionStudent
    {
        public Guid IntentionStudentId { get; set; }
        public string Name { get; set; }
        public byte[] VersionNumber { get; set; }
        public DateTime CreatedOn { get; set; }
        public Guid CreatedBy { get; set; }
        public DateTime? ModifiedOn { get; set; }
        public Guid? ModifiedBy { get; set; }
        public int StateCode { get; set; }
        public int StatusCode { get; set; }
        public Guid OwnerId { get; set; }
        public int OwnerIdType { get; set; }
        public Guid? OwningBusinessUnit { get; set; }
        public Guid OrganizationId { get; set; }
        public string Phone { get; set; }
        public int? Sex { get; set; }
        public int? StudentType { get; set; }
        public int? Source { get; set; }
        public int? IntentionLevel { get; set; }
        public string Communication { get; set; }
        public string FollowUp { get; set; }
        public int? IntentionStudentStatus { get; set; }
        public Guid? Xqu { get; set; }
        public DateTime? Xcigj { get; set; }
        public Guid? SubPrincipal { get; set; }
        public string Principal { get; set; }
        public string Ykecheng { get; set; }
    }
}
